#ifndef __losor_binary_h__
#define __losor_binary_h__

#include "../object.h"
#include "file.h"
#include <list>

using namespace std;

namespace losor
{
	class binary : public object
	{
		public:
			binary( const char *name );
			virtual ~binary();
		public:
			virtual long parse( string para, object *parent );
			virtual long write_depend( object *parent );
		public:
			void add_file( file *pf );
			void rm_file( file *pf );
		protected:
			virtual void rm_child( string para );
		protected:
			list<file*> m_file;
	};
}

#endif

